public class WaitPaidOrderState extends AbstractOrderState {

    public WaitPaidOrderState(OrderContext orderContext) {
        super(orderContext);
    }

    public void payOrder() {
        System.out.println("支付成功");
        this.orderContext.setState(this.orderContext.waitDeliver);
    }

    public void deliver() {
        System.out.println("对不起，请先付钱");
    }

    public void receiveGoods() {
        System.out.println("对不起，请先付钱");
    }


}